import styles from "./title.module.css"; import Image from "next/image"; import Link from "next/link"; import { PreFetchMangaInfo } from "../cacher"; export default async function MangaInfo({ params }) { const title = params.title; const data = await GetSearchedAnime(title); PreFetchMangaInfo(data); return (
Searched for: {decodeURIComponent(title)}
{item.title["english"] || item.title["romaji"]}
{desc.includes &&
desc.includes("
Status: {item.status || "not sure"}
Chapters:{" "} {item.totalChapters || "not sure"}
Volumes:{" "} {item.volumes || "not sure"}